package com.sxhalo.fsms.mapper;

import com.sxhalo.fsms.domain.FactDevice;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FactDeviceMapper {
    int deleteByPrimaryKey(Integer deviceId);

    int insert(FactDevice record);

    int insertSelective(FactDevice record);

    FactDevice selectByPrimaryKey(Integer deviceId);

    int updateByPrimaryKeySelective(FactDevice record);

    int updateByPrimaryKey(FactDevice record);
    
    int getCount(@Param("where")String where);

    List<FactDevice> findWhereList(@Param("where")String where, @Param("order")String order);

    List<FactDevice> findPagerList(@Param("start")Integer start, @Param("length")Integer length, @Param("where")String where, @Param("order")String order);
    List<Integer> getAllId(@Param("where")String where);
}